using System.Data;
using VanTaiData;
namespace VanTaiBLL
{
    public class clsTMCustomersBusiness
    {
        public static clsTMCustomersController cls = new clsTMCustomersController();

        #region[Get-Data]
        public DataTable BindGirdTMCustomers()
        {
            return cls.BindGirdTMCustomers();
        }
        public DataTable BindGirdTMCustomers_Detail_Edit(int id)
        {
            return cls.BindGirdTMCustomers_Detail_Edit(id);
        }
        #endregion

        #region [Insert-Update-Delete]
        public static bool InsertTMCustomers(clsTMCustomersProperty obj)
        {
            return cls.InsertTMCustomers(obj);
        }
        public static bool UpdateTMCustomers(clsTMCustomersProperty obj)
        {
            return cls.UpdateTMCustomers(obj);
        }
        public static bool DeleteTMCustomers(int id)
        {
            return cls.DeleteTMCustomers(id);
        }
        public bool TMCustomers_Check_Delete_TMCommandTransferOrder(int id)
        {
            return cls.TMCustomers_Check_Delete_TMCommandTransferOrder(id);
        }
        public bool TMCustomers_Check_Delete_TMPlan_TransferOrder(int id)
        {
            return cls.TMCustomers_Check_Delete_TMPlan_TransferOrder(id);
        }
        public bool TMCustomers_Check_Delete_TMSalesReport(int id)
        {
            return cls.TMCustomers_Check_Delete_TMSalesReport(id);
        }
        public bool TMCustomers_Check_Contract(int id)
        {
            return cls.TMCustomers_Check_Contract(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}